.modal-backdrop {
  z-index: 1050 !important;
}

.modal-header {
  border-top-left-radius: 0.5rem !important;
  border-top-right-radius: 0.5rem !important;
}

.modal-footer {
  border-bottom-left-radius: 0.5rem !important;
  border-bottom-right-radius: 0.5rem !important;
}

.modal-content {
  border-radius: 0.7rem !important;
  border: none;
  line-height: 1.5rem;
  font-size: 0.9rem;
  font-weight: 300;

  legend {
    line-height: 2rem;
  }

  ul:not(.list-group) {
    padding-inline-start: 20px;
    padding-right: 20px;

    li {
      margin: 0;
      padding: 0;
    }
    li:not(:last-child) {
      margin-bottom: 0.25rem;
    }
  }

  .list-group-hb {
    .list-group-item-hb {
      margin-top: 0.5rem;
      border-bottom: 1px solid rgba(0, 0, 0, 0.125) !important;
    }
  }

  .small {
    line-height: 1.25rem;
  }

  select,
  input {
    font-size: 1rem;
  }
}
